NitroPack\SDK\Pagecache B

Total Complexity 91
Dependencies 5
Dependents 1
Total lines 316
Lines of code 251
Logical lines of code 152
Comment lines 7
Methods 27
Properties 10

Methods 27

Method Rating Maintainability Complexity Lines of code
hasExpired()
A
48 13 31
readfile()
A
53 8 22
getRemainingTtl()
S
52 6 24
setContent()
S
59 6 14
headersFlatten()
S
61 4 13
getUrlDir()
S
59 4 13
cookiePrefix()
S
60 4 12
getCachefilePath()
S
66 4 7
compress()
S
62 4 10
hasCache()
S
65 4 9
convertToStaleCache()
S
59 3 14
canUseCompression()
S
78 3 3
ajaxPrefix()
S
77 3 3
setReferer()
S
66 3 8
setDataDir()
S
65 3 10
disableCompression()
S
72 2 6
getFileContents()
S
70 2 7
useInvalidated()
S
72 2 6
sslPrefix()
S
78 2 3
customCachePrefix()
S
75 2 4
isCompressionAllowed()
S
77 2 3
enableCompression()
S
72 2 6
__construct()
S
62 1 11
getReferer()
S
82 1 3
getUseInvalidated()
S
82 1 3
getParent()
S
82 1 3
nameOfCachefile()
S
78 1 3